'use strict'
const Service = require('egg').Service;
class updservice extends Service {
  async updgrades (params) {
    const result = await await this.app.mysql.update('grades', { id: params[0], mathG: params[1], englishG: params[2], chemistryG: params[3] });
  }
}
module.exports = updservice;